#!/bin/sh

# Check if 'lsusb -t' contains 'rtl88x2bu'
if lsusb -t | grep -q "rtl88x2bu"; then
    echo "true"
else
    # Replace the wireless configuration
    sh /etc/sysp/pifi_factory
 fi
   